//
//  JPServiceProtocol.h
//  JPWords
//
//  Created by 梁淑婷 on 2024/4/20.
//

#ifndef JPServiceProtocol_h
#define JPServiceProtocol_h


#import <Foundation/Foundation.h>
#import "JPNetworkingDefines.h"

@protocol JPServiceProtocol <NSObject>

- (NSURLRequest *)requestWithParams:(NSDictionary *)params methodName:(NSString *)methodName requestType:(JPAPIManagerRequestType)requestType;
- (NSDictionary *)resultWithResponseData:(NSData *)responseData response:(NSURLResponse *)response request:(NSURLRequest *)request error:(NSError **)error;

@end

#endif /* JPServiceProtocol_h */
